IHipInput

Undocumented in source.
interface IHipInput {}

Members

Aliases

getNormallizedMousePosition
alias getNormallizedMousePosition = getNormallizedTouchPosition
Undocumented in source.
getWorldMousePosition
alias getWorldMousePosition = getWorldTouchPosition
Undocumented in source.
isTouchJustPressed
alias isTouchJustPressed = isMouseButtonJustPressed
Undocumented in source.
isTouchJustReleased
alias isTouchJustReleased = isMouseButtonJustReleased
Undocumented in source.
isTouchPressed
alias isTouchPressed = isMouseButtonPressed
Undocumented in source.

Functions

areGamepadButtonsJustPressed
bool areGamepadButtonsJustPressed(HipGamepadButton[] btn, ubyte id)
Undocumented in source.
areGamepadButtonsJustReleased
bool areGamepadButtonsJustReleased(HipGamepadButton[] btn, ubyte id)
Undocumented in source.
areGamepadButtonsPressed
bool areGamepadButtonsPressed(HipGamepadButton[] btn, ubyte id)
Undocumented in source.
getAnalog
float[3] getAnalog(HipGamepadAnalogs analog, ubyte id)
Undocumented in source.
getGamepad
AHipGamepad getGamepad(ubyte id)
Undocumented in source.
getGamepadBatteryStatus
float getGamepadBatteryStatus(ubyte id)
Undocumented in source.
getGamepadCount
ubyte getGamepadCount()
Undocumented in source.
getKeyDownTime
float getKeyDownTime(char key, uint id)
Undocumented in source.
getKeyUpTime
float getKeyUpTime(char key, uint id)
Undocumented in source.
getMulticlickCount
ubyte getMulticlickCount(HipMouseButton btn, uint id)
Undocumented in source.
getNormallizedTouchPosition
float[2] getNormallizedTouchPosition(uint id)

Gets normallized to the window touch/mouse position

getScroll
float[3] getScroll(uint id)
Undocumented in source.
getTouchDeltaPosition
float[2] getTouchDeltaPosition(uint id)
Undocumented in source.
getTouchPosition
float[2] getTouchPosition(uint id)

Gets Raw touch/mouse position

getWorldTouchPosition
float[2] getWorldTouchPosition(uint id, Viewport vp)

Gets touch position in world transform. The world transform can both be based in Viewport argument, if none is passed, it is based on the currently active viewport

isDoubleClicked
bool isDoubleClicked(HipMouseButton btn, uint id)
Undocumented in source.
isGamepadButtonJustPressed
bool isGamepadButtonJustPressed(HipGamepadButton btn, ubyte id)
Undocumented in source.
isGamepadButtonJustReleased
bool isGamepadButtonJustReleased(HipGamepadButton btn, ubyte id)
Undocumented in source.
isGamepadButtonPressed
bool isGamepadButtonPressed(HipGamepadButton btn, ubyte id)
Undocumented in source.
isGamepadWireless
bool isGamepadWireless(ubyte id)
Undocumented in source.
isKeyJustPressed
bool isKeyJustPressed(char key, uint id)
Undocumented in source.
isKeyJustReleased
bool isKeyJustReleased(char key, uint id)
Undocumented in source.
isKeyPressed
bool isKeyPressed(char key, uint id)
Undocumented in source.
isMouseButtonJustPressed
bool isMouseButtonJustPressed(HipMouseButton btn, uint id)
Undocumented in source.
isMouseButtonJustReleased
bool isMouseButtonJustReleased(HipMouseButton btn, uint id)
Undocumented in source.
isMouseButtonPressed
bool isMouseButtonPressed(HipMouseButton btn, uint id)
Undocumented in source.
setGamepadVibrating
bool setGamepadVibrating(float vibrationPower, float time, ubyte id)
Undocumented in source.

Meta